﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SupplierAdd.ascx.cs" Inherits="webUserControl_SupplierAdd" %>
<div class="code">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:LinFen %>" 
        SelectCommand="SELECT [ID], [isType] FROM [sysType]"></asp:SqlDataSource>
<table style="width:80%; line-height:25px; font-size:12px;">
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">合同号：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbNumID" runat="server" Enabled="False" ReadOnly="True"></asp:TextBox>
                </td>
    </tr>
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">分类：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLCatalogID" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">档次：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLDangCiID" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">城市：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLCityID" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DDLCityID_SelectedIndexChanged">
            </asp:DropDownList>
                <asp:DropDownList ID="DDLDistrictID" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">公司名称：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbSupplierName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="tbSupplierName" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">楼层：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="ddlSuppliername2" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">负责人：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbLinkMan" runat="server"></asp:TextBox>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">电话：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbTelPhone" runat="server"></asp:TextBox>
                </td>
    </tr>
        <tr>
        <td style="text-align:right;">地址：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbAddress" runat="server"></asp:TextBox>
                </td>
    </tr>
        <tr>
        <td style="text-align:right;">点位类型：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList1_SelectedIndexChanged">
                <asp:ListItem Value="0">靓角广告</asp:ListItem>
                <asp:ListItem Value="1">消防框架</asp:ListItem>
            </asp:DropDownList>
                </td>
    </tr>
    <asp:Panel ID="Panel1" runat="server">
    
        <tr>
        <td style="text-align:right; padding-right:5px;">男点位数：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLNumMale" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px;">女点位数：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLNumFemale" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px;">烘干器点位数：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLHongGan" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px;">包间点位数：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLBaoJian" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
    </asp:Panel>
    <asp:Panel ID="Panel2" Visible=false runat="server">
    
        <tr>
        <td style="text-align:right; padding-right:5px;">
            <asp:Label ID="lblS" runat="server" Text="其他点位数"></asp:Label>：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DDLQiTa" runat="server">
            </asp:DropDownList>
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px;">备注：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbBak" TextMode="MultiLine" Rows="10" Columns="5" runat="server" Width="425px"></asp:TextBox>
                </td>
    </tr>
    </asp:Panel>
    <asp:Panel ID="Panel3" Visible="false" runat="server">
    <tr>
        <td style="text-align:right; padding-right:5px;">备注：</td>
        <td style=" padding-left:5px;">
            <asp:TextBox ID="tbBak2" TextMode="MultiLine" Rows="10" Columns="5" runat="server" Width="425px"></asp:TextBox>
                </td>
    </tr>
    </asp:Panel>
        <tr>
        <td style="text-align:right; padding-right:5px;">&nbsp;</td>
        <td style=" padding-left:5px;">
            <asp:Button ID="btnSub" runat="server" onclick="btnSub_Click" Text="提交" 
                ValidationGroup="A" />
                <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </td>
    </tr>
</table>
</div>